package com.hermit.hermitmusicserver.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author hermit
 * @data 2021/6/23
 * 测试实体
 */
@Data
@TableName("user")
public class TestEntity {
    @TableId
    @ApiModelProperty(required = true, notes = "Id", example = "0")
    private Integer id;

    @ApiModelProperty(required = true, notes = "姓名", example = "陈奕迅")
    private String name;

    @ApiModelProperty(required = true, notes = "备注", example = "是个歌手")
    private String comment;
}
